package com.yq.canalkafka.config;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author by shizan
 * @Classname SysProperties
 * @Description TODO
 * @Date 2020/12/17 11:40 上午
 */
@Component
@Getter
public class SysProperties {
    @Value("${sys.properties.waring-dingding-enable}")
    private Boolean waringDingdingEnable;

    @Value("${sys.properties.waring-dingding-format-url}")
    private String waringDingdingFormatUrl;

    @Value("${sys.properties.waring-dingding-secret}")
    private String waringDingdingSecret;
    //
    @Value("${spring.profiles.active}")
    private String active;


}
